from urllib.request import Request,urlopen
from fake_useragent import UserAgent

url="https://www.sxt.cn/login.html"

headers={
    "User-Agent":UserAgent().chrome
    #"Cookie":""登录好之后获取对应的cookie，则可以爬去登录后的页面
}
request=Request(url,headers=headers)
response=urlopen(request)
print(response.read().decode())
